﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TrainingDemo.Model
{
    class ControlNode : TreeNode
    {

        #region Private Property

        string m_strTitle;
        public string Title
        {
            get { return m_strTitle; }
            //set { m_strTitle = value; }
        }

        IntPtr m_nHandle;
        new public System.IntPtr Handle
        {
            get { return m_nHandle; }
            //set { m_nHandle = value; }
        }

        #endregion


        #region Constructor/Destructor/Init

        public ControlNode(IntPtr handle, string title)
        {
            m_nHandle = handle;
            m_strTitle = title;
            this.Text = title;
        }

        #endregion




    }
}
